#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: v2_meta.py 
@version:
@time: 2022/05/24 
"""
from TapDevops.build_jenkins.v2.v2_base import v2


class V2LocalMetaCaseSetting:
    meta = 'test_meta'
    # f {catalogue_title}
    catalogue_title = '数据目录'
    catalogue = 'test_catalogue'
    title_data_catalogue_base = f'{catalogue_title}-模型加载与数据源比对'
    path_data_catalogue_base = f'{v2}/{meta}/{catalogue}/test_data_catalogue01_base.py'
    # 模型删除
    title_data_catalogue_delete = f'{catalogue_title}-模型删除后重新加载'
    path_data_catalogue_delete = f'{v2}/{meta}/{catalogue}/test_data_catalogue02_delete_meta.py'

    # 模型添加并删除
    title_data_catalogue_add_delete = f'{catalogue_title}-新增表加载模型，删除表加载模型'
    path_data_catalogue_add_delete = f'{v2}/{meta}/{catalogue}/test_data_catalogue03_add_delete_table.py'

    # f {search_title}
    search_title = '数据搜索'
    search = 'test_data_search'
    # search by table
    title_data_search_table = f'{search_title}-通过表名搜索'
    path_data_search_table = f'{v2}/{meta}/{search}/test_data_data_search01.py'
    # search and patch
    title_data_search_patch = f'{search_title}-修改模型，再通过表名搜索'
    path_data_search_patch = f'{v2}/{meta}/{search}/test_data_data_search02.py'
    # search by table
    title_data_search_column = f'{search_title}-通过字段名搜索'
    path_data_search_column = f'{v2}/{meta}/{search}/test_data_data_search03.py'
